package com.osdp.gateway.service;

import org.springframework.cloud.gateway.route.RouteDefinition;

/**
 * 动态路由操作
 */
public interface IDynamicRouteService {
    /**
     * 新增
     * @param routeDefinition
     * @return
     */
    public String add(RouteDefinition routeDefinition);

    /**
     * 更新路由
     * @param routeDefinition
     * @return
     */
    public String update(RouteDefinition routeDefinition);

    /**
     * 删除路由
     * @param serviceId
     * @return
     */
    public String delete(String serviceId);

}
